package com.example.administrator.readbook.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/7/2.
 */

public class SearchBookBean {

    /**
     * books : [{"_id":"57206c3539a913ad65d35c7b","hasCp":true,"title":"一念永恒","cat":"仙侠","author":"耳根","site":"zhuishuvip","cover":"/agent/http://image.cmfu.com/books/1003354631/1003354631.jpg","shortIntro":"一念成沧海，一念化桑田。一念斩千魔，一念诛万仙。唯我念\u2026\u2026永恒","lastChapter":"第681章 杀！","retentionRatio":75.68,"latelyFollower":195114,"wordCount":1987456},{"_id":"54d2e3e958ec2f3d7cffdf25","hasCp":true,"title":"战神狂飙","cat":"玄幻","author":"一念汪洋","site":"zhuishuvip","cover":"/cover/148005119461175","shortIntro":"世人敢问，何谓战神？ \u201c便是以肉身霸世，拳爆星空，掌裂苍穹，一路摧枯拉朽，横推八荒六合！\u201d \u201c便是怀勇猛之心，掠过繁华，吞下寂寞，无畏无惧无敌，唯己永恒不动！\u201d...","lastChapter":"卷五：北斗道极 第1770章：你对我做了什么！（求恶魔果实）","retentionRatio":57.95,"latelyFollower":4830,"wordCount":5517891}]
     * ok : true
     */

    private boolean ok;
    private List<BooksBean> books;

    public boolean isOk() {
        return ok;
    }

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public List<BooksBean> getBooks() {
        return books;
    }

    public void setBooks(List<BooksBean> books) {
        this.books = books;
    }

    public static class BooksBean {
        /**
         * _id : 57206c3539a913ad65d35c7b
         * hasCp : true
         * title : 一念永恒
         * cat : 仙侠
         * author : 耳根
         * site : zhuishuvip
         * cover : /agent/http://image.cmfu.com/books/1003354631/1003354631.jpg
         * shortIntro : 一念成沧海，一念化桑田。一念斩千魔，一念诛万仙。唯我念……永恒
         * lastChapter : 第681章 杀！
         * retentionRatio : 75.68
         * latelyFollower : 195114
         * wordCount : 1987456
         */

        private String _id;
        private boolean hasCp;
        private String title;
        private String cat;
        private String author;
        private String site;
        private String cover;
        private String shortIntro;
        private String lastChapter;
        private double retentionRatio;
        private int latelyFollower;
        private int wordCount;

        public String get_id() {
            return _id;
        }

        public void set_id(String _id) {
            this._id = _id;
        }

        public boolean isHasCp() {
            return hasCp;
        }

        public void setHasCp(boolean hasCp) {
            this.hasCp = hasCp;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCat() {
            return cat;
        }

        public void setCat(String cat) {
            this.cat = cat;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getSite() {
            return site;
        }

        public void setSite(String site) {
            this.site = site;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getShortIntro() {
            return shortIntro;
        }

        public void setShortIntro(String shortIntro) {
            this.shortIntro = shortIntro;
        }

        public String getLastChapter() {
            return lastChapter;
        }

        public void setLastChapter(String lastChapter) {
            this.lastChapter = lastChapter;
        }

        public double getRetentionRatio() {
            return retentionRatio;
        }

        public void setRetentionRatio(double retentionRatio) {
            this.retentionRatio = retentionRatio;
        }

        public int getLatelyFollower() {
            return latelyFollower;
        }

        public void setLatelyFollower(int latelyFollower) {
            this.latelyFollower = latelyFollower;
        }

        public int getWordCount() {
            return wordCount;
        }

        public void setWordCount(int wordCount) {
            this.wordCount = wordCount;
        }

        @Override
        public String toString() {
            return "BooksBean{" +
                    "_id='" + _id + '\'' +
                    ", hasCp=" + hasCp +
                    ", title='" + title + '\'' +
                    ", cat='" + cat + '\'' +
                    ", author='" + author + '\'' +
                    ", site='" + site + '\'' +
                    ", cover='" + cover + '\'' +
                    ", shortIntro='" + shortIntro + '\'' +
                    ", lastChapter='" + lastChapter + '\'' +
                    ", retentionRatio=" + retentionRatio +
                    ", latelyFollower=" + latelyFollower +
                    ", wordCount=" + wordCount +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "SearchBookBean{" +
                "ok=" + ok +
                ", books=" + books +
                '}';
    }
}
